<%-- 
    Document   : employeeSendComplaint
    Created on : Oct 22, 2013, 12:58:28 AM
    Author     : h10t93
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>

        <c:if test="${sessionScope.nameEmp != null}">
            <font color="red">
            ${sessionScope.nameEmp}</font><br/>
            <a href="EmpServlet?action=logout">Logout</a>
        </c:if>
        <c:if test="${sessionScope.nameEmp == null}">
            <a href="employeeLogin.jsp">login</a>
        </c:if>


        <div >

        </div>
            <form method="POST" action="EmpServlet?action=sendComp">
            <table>
                <tr>
                    <td>Titel:</td>
                    <td><input type="text" name="txt_title" style="width: 195px"/></td>
                </tr>
                <tr>
                    <td>categorize:</td>
                    <td><select name="cate" style="width: 200px">
                            <option value="1">Educational Services</option>
                            <option value="2">Management Services</option>
                            <option value="3">Learning Services</option>
                            <option value="4">Internal Systems</option>
                            <option value="5">Human Resources</option>
                        </select></td>
                </tr>
                <tr>
                    <td>Content:</td>
                    <td><textarea name="txt_content"  cols="50" style="height: 300px"> </textarea></td>
                </tr>
                <tr>
                    <td></td>
                    <td><button type="submit">send</button></td>
                </tr>
            </table>
        </form>
    </body>
</html>
